gtk4.git
12 years agoGtkListBox: Make reseparate a no-op for hidden lists
Alexander Larsson [Tue, 11 Jun 2013 14:04:58 +0000 (16:04 +0200)]
GtkListBox: Make reseparate a no-op for hidden lists

We already take care to not track headers when the listbox is hidden,
because that can be very expensive during creation, so we might as
well skip reseparate() too. The only time we don't want to skip it
is when we're about to show the list.

12 years agoGtkListBox: Remove some unnecessary code
Alexander Larsson [Tue, 11 Jun 2013 13:22:09 +0000 (15:22 +0200)]
GtkListBox: Remove some unnecessary code

the unhighlight call already NULLs out drag_highlighted_row

12 years agoGtkListBox: Fix docs
Alexander Larsson [Tue, 11 Jun 2013 13:18:51 +0000 (15:18 +0200)]
GtkListBox: Fix docs

Removed some cut/paste leftovers

12 years agoGtkListBox: Allow unselecting of rows in SINGLE mode
Alexander Larsson [Tue, 11 Jun 2013 13:04:02 +0000 (15:04 +0200)]
GtkListBox: Allow unselecting of rows in SINGLE mode

12 years agoGtkListBox: Rename separators to headers
Alexander Larsson [Tue, 11 Jun 2013 12:09:19 +0000 (14:09 +0200)]
GtkListBox: Rename separators to headers

12 years agoGtkListBox: Remove refilter signal
Alexander Larsson [Tue, 11 Jun 2013 11:56:38 +0000 (13:56 +0200)]
GtkListBox: Remove refilter signal

This was added from https://bugzilla.gnome.org/show_bug.cgi?id=691979
where it was wanted in order to get a "all children filtered" kind
of row. However, the solution is not really generic enough, because
filtering can happen for other reasons than a full refilter (i.e. due
to a row change), and the partial fix you can get by counting children
after refilter can be achieved by manually doing it whenever you manually
called refilter anyway.

Its possible we should have some better solution for the "empty state"
though.

12 years agoGtkListBox: Add docs
Alexander Larsson [Tue, 11 Jun 2013 10:59:32 +0000 (12:59 +0200)]
GtkListBox: Add docs

12 years agoGtkWidget: Change which states propagate
Alexander Larsson [Mon, 10 Jun 2013 15:02:34 +0000 (17:02 +0200)]
GtkWidget: Change which states propagate

Historically the following states propagated to children:
  GTK_STATE_FLAG_ACTIVE
  GTK_STATE_FLAG_PRELIGHT
  GTK_STATE_FLAG_SELECTED
  GTK_STATE_FLAG_INSENSITIVE
  GTK_STATE_FLAG_INCONSISTENT
  GTK_STATE_FLAG_BACKDROP

However, several of these are problematic on containers like GtkListBox.
For instance, if a row is ACTIVE or SELECTED then all children (like e.g
a button) inside the row will *also* look active/selected. This is almost
never right. The right way to theme this is to catch e.g. SELECTED on the
container itself and set e.g. the color and let the children inherit
the color instead of the flag.

We now propagate only these flags:
  GTK_STATE_FLAG_INSENSITIVE
  GTK_STATE_FLAG_BACKDROP

Which make sense to be recursive as they really affect every widget
inside the container.

However, this is a CSS theme break, and while most things continue working
as-is some themes may need minor tweaks.

12 years agoGtkListBox: Remove add_to_scrolled()
Alexander Larsson [Mon, 10 Jun 2013 14:07:20 +0000 (16:07 +0200)]
GtkListBox: Remove add_to_scrolled()

Now that we automatically set up the focus_vadjustment we only
need the adjustment to handle the page-up/down scroll length correctly.

We use parent_set to automatically pick up the adjustment from a
scrollable (i.e. viewport) parent which makes add_to_scrolled useless, so
it can be removed.

12 years agoGtkScrollableWindow: Automatically set focus adjustments
Alexander Larsson [Mon, 10 Jun 2013 12:55:54 +0000 (14:55 +0200)]
GtkScrollableWindow: Automatically set focus adjustments

When adding with a viewport we automatically set the focus
adjustments on the viewport from the scrolled window, so that
when any child widget gets focused we automatically scroll to it.

This is generally nice, but its particularly important for GtkListBox
where focus changing is how we navigate between rows.

We also ensure that the adjustments are always set before adding the
child to the viewport, which we will need later to pick up the
adjustments on add.

12 years agoGtkListBox: No need to manually clamp adjustment to focus
Alexander Larsson [Mon, 10 Jun 2013 12:41:51 +0000 (14:41 +0200)]
GtkListBox: No need to manually clamp adjustment to focus

Now that we use real widgets for rows the focus_vadjustment is
enough.

12 years agoGtkListBox: Clean up DnD code
Alexander Larsson [Mon, 10 Jun 2013 13:15:22 +0000 (15:15 +0200)]
GtkListBox: Clean up DnD code

Unhighlight rows if they are removed.

Drop the automatic drag motion based auto-scrolling. This is not really
right, as it e.g. hardcodes auto-scroll regions and assumes we're the only
widget inside the scrolled container. Its also imho in the wrong place,
autoscrolling if any should be done on the scrolled-window or viewport.
All the removed code is implementable outside Gtk+ though.

12 years agotestgtk: Add ListBox test
Alexander Larsson [Mon, 10 Jun 2013 12:15:56 +0000 (14:15 +0200)]
testgtk: Add ListBox test

This is a simple test of a scrolling listbox with sorting, filtering
and a header row.

12 years agotests: Add testlist testing GtkListBox
Alexander Larsson [Mon, 10 Jun 2013 11:49:14 +0000 (13:49 +0200)]
tests: Add testlist testing GtkListBox

12 years agoAdd GtkListBox
Alexander Larsson [Mon, 10 Jun 2013 09:17:10 +0000 (11:17 +0200)]
Add GtkListBox

This is basically an import/rename of EggListBox from the row-widget
branch of egg-list-box.

12 years agoRequire GLib 2.37.2
Adam Dingle [Wed, 12 Jun 2013 02:21:46 +0000 (22:21 -0400)]
Require GLib 2.37.2

It's necessary for G_TEST_DIST, for example.

12 years agoPass screen to visual init (no default screen is available yet)
Руслан Ижбулатов [Sat, 4 May 2013 08:05:46 +0000 (12:05 +0400)]
Pass screen to visual init (no default screen is available yet)

https://bugzilla.gnome.org/show_bug.cgi?id=700444

12 years agoFix display/screen/displaymanager init interdependency
Руслан Ижбулатов [Sat, 4 May 2013 06:43:11 +0000 (10:43 +0400)]
Fix display/screen/displaymanager init interdependency

https://bugzilla.gnome.org/show_bug.cgi?id=700444

12 years agoim: Deprecate gtk_im_multicontext_append_menuitems
Christian Persch [Sat, 8 Jun 2013 11:53:21 +0000 (13:53 +0200)]
im: Deprecate gtk_im_multicontext_append_menuitems

Bug #701840.

12 years agoFix string allocation handling with GtkBuilder translations
Kalev Lember [Fri, 7 Jun 2013 12:12:14 +0000 (14:12 +0200)]
Fix string allocation handling with GtkBuilder translations

Use g_string_assign to avoid issues with assigning GString's internal
buffer back to the same string. This can happen when no translations are
available and _gtk_builder_parser_translate returns back the same
pointer that was passed in.

This fixes a regression from commit e9f182e37a7f6e2dc339054841a3c9f930f
that caused GtkComboBoxText <items> from GtkBuilder to show up empty if
no translations are available.

https://bugzilla.gnome.org/show_bug.cgi?id=700629

12 years agoIgnore Gtk/ShowInputMethodMenu and Gtk/ShowUnicodeMenu X settings
Matthias Clasen [Fri, 7 Jun 2013 22:14:20 +0000 (18:14 -0400)]
Ignore Gtk/ShowInputMethodMenu and Gtk/ShowUnicodeMenu X settings

These are no longer used.

12 years agoRemove the show-unicode-menu and show-input-method-menu settings
Matthias Clasen [Fri, 7 Jun 2013 22:13:47 +0000 (18:13 -0400)]
Remove the show-unicode-menu and show-input-method-menu settings

These are no longer used.

12 years agoGtkTextView: Remove the Unicode and input method menus
Matthias Clasen [Fri, 7 Jun 2013 22:13:20 +0000 (18:13 -0400)]
GtkTextView: Remove the Unicode and input method menus

Submenus in the context menu are not great, and these two
in particular are not something we want to have there.

12 years agoGtkEntry: Remove the Unicode and input method menus
Matthias Clasen [Fri, 7 Jun 2013 22:10:15 +0000 (18:10 -0400)]
GtkEntry: Remove the Unicode and input method menus

Submenus in the context menu are not great, and these two
in particular are not something we want to have there.

12 years agoquartz: move dialogs to the same window level as utility windows
Michael Natterer [Thu, 6 Jun 2013 13:39:53 +0000 (15:39 +0200)]
quartz: move dialogs to the same window level as utility windows

window_type_hint_to_level(): applied patch from Paul Davis which moves
dialogs to NSFloatingWindowLevel. This is not quite the perfect
solution, but it's a pragmatic fix that makes apps which have both
window types much more usable, and prevents dialog from disappearing
under an application's main window.
(cherry picked from commit 59d49e1566faeed80d2b2052c42fe6c5e9153190)

12 years agoprinting: Show correct status of a job
Marek Kasik [Wed, 5 Jun 2013 16:00:54 +0000 (18:00 +0200)]
printing: Show correct status of a job

"job-state" is IPP_TAG_ENUM not IPP_TAG_INTEGER.

12 years agofix a typo in zh_CN translation
YunQiang Su [Thu, 6 Jun 2013 03:02:29 +0000 (11:02 +0800)]
fix a typo in zh_CN translation

12 years agoFixed Czech translation
Marek Černocký [Wed, 5 Jun 2013 05:55:48 +0000 (07:55 +0200)]
Fixed Czech translation

12 years agogdkevents.h: fix documentation typo
Claudio Saavedra [Mon, 3 Jun 2013 11:51:47 +0000 (14:51 +0300)]
gdkevents.h: fix documentation typo

https://bugzilla.gnome.org/show_bug.cgi?id=701463

12 years agoDo not use AC_CANONICAL_TARGET
Hib Eris [Mon, 1 Apr 2013 10:35:18 +0000 (12:35 +0200)]
Do not use AC_CANONICAL_TARGET

Reverts commit 717c28e12daff5ae9fcb01b45cd1daf13609cddb and
fixes AX_PROG_CC_FOR_BUILD (see also
http://savannah.gnu.org/patch/index.php?7989).

https://bugzilla.gnome.org/show_bug.cgi?id=692638

12 years agoDefine INITGUID only for mingw.org compiler
Hib Eris [Mon, 13 May 2013 13:45:18 +0000 (15:45 +0200)]
Define INITGUID only for mingw.org compiler

Defining INITGUID causes a build failure with mingw-w64 > r5589.

https://bugzilla.gnome.org/show_bug.cgi?id=699673

12 years agoRequire GLib 2.37.1
Adam Dingle [Sat, 1 Jun 2013 10:43:51 +0000 (06:43 -0400)]
Require GLib 2.37.1

GTK+ now requires GLib 2.37.1 since it uses g_test_trap_subprocess,
which is new in that GLib version.

12 years agoUpdated POTFILES.in
Piotr Drąg [Fri, 31 May 2013 20:44:05 +0000 (22:44 +0200)]
Updated POTFILES.in

12 years agoAdd GtkSearchBar widget
Bastien Nocera [Tue, 21 May 2013 15:26:37 +0000 (17:26 +0200)]
Add GtkSearchBar widget

This widget is a toolbar that will popup automatically when
searches should be started, and dismissed when they are finished.

https://bugzilla.gnome.org/show_bug.cgi?id=700787

12 years agoreftests: Switch test type to session-exclusive
Colin Walters [Fri, 31 May 2013 14:34:11 +0000 (10:34 -0400)]
reftests: Switch test type to session-exclusive

The reftests are sensitive to window focus, and will not work reliably
if other concurrently executed tests are creating and closing windows.

12 years agol10n: Update Japanese translation
Jiro Matsuzawa [Fri, 31 May 2013 13:25:04 +0000 (22:25 +0900)]
l10n: Update Japanese translation

12 years agoUpdate Visual Studio 2010 Property Sheets
Chun-wei Fan [Fri, 31 May 2013 05:03:23 +0000 (13:03 +0800)]
Update Visual Studio 2010 Property Sheets

Remove quotes that aren't really needed

12 years agoGDK-Win32: Avoid Redefinition of _GDK_EXTERN
Chun-wei Fan [Thu, 30 May 2013 08:07:31 +0000 (16:07 +0800)]
GDK-Win32: Avoid Redefinition of _GDK_EXTERN

Include config.h first so that _GDK_EXTERN may be defined once
and only once during the build, so that we do not get warnings/
errors for macro redefinition.

https://bugzilla.gnome.org/show_bug.cgi?id=701251

12 years agobuild: fix typo
Rico Tzschichholz [Thu, 30 May 2013 18:19:49 +0000 (20:19 +0200)]
build: fix typo

12 years agoAPI: Deprecate gtk_container_resize_children()
Benjamin Otte [Thu, 30 May 2013 18:02:30 +0000 (20:02 +0200)]
API: Deprecate gtk_container_resize_children()

It does ad things and is undocumented, so I'll just silently deprecate
it.

12 years agocontainer: Don't use to-be-deprecated API
Benjamin Otte [Thu, 30 May 2013 18:02:05 +0000 (20:02 +0200)]
container: Don't use to-be-deprecated API

Instead, do what that API does manually.

12 years agotestgtk: Disable deprecations when using old functions
Benjamin Otte [Thu, 30 May 2013 18:01:33 +0000 (20:01 +0200)]
testgtk: Disable deprecations when using old functions

12 years agowindow: Call size_allocate() to allocate a size
Benjamin Otte [Thu, 30 May 2013 17:28:08 +0000 (19:28 +0200)]
window: Call size_allocate() to allocate a size

Don't call gtk_container_resize_children().

https://bugzilla.gnome.org/show_bug.cgi?id=700185

12 years agoGtkBookmarksManager: Refactor duplicate set error code and localise error strings
Timothy Arceri [Tue, 28 May 2013 08:12:27 +0000 (18:12 +1000)]
GtkBookmarksManager: Refactor duplicate set error code and localise error strings

https://bugzilla.gnome.org/show_bug.cgi?id=593079

12 years agobuild/win32/vs10/gdk.vcxprojin: Remove Stray Line
Chun-wei Fan [Thu, 30 May 2013 10:08:32 +0000 (18:08 +0800)]
build/win32/vs10/gdk.vcxprojin: Remove Stray Line

The last commit on this file accidently left a stray </ItemGroup>, which
Visual Studio 2010 does not like.  Get rid of that line.

12 years agogdkcursor-win32.c: Include gdkwin32.h
Chun-wei Fan [Tue, 28 May 2013 06:59:46 +0000 (14:59 +0800)]
gdkcursor-win32.c: Include gdkwin32.h

Include gdkwin32.h (which includes gdkprivate-win32.h and gdkwin32cursor.h
during the build of GDK-Win32) so that
gdk_win32_icon_to_pixbuf_libgtk_only() and
gdk_win32_pixbuf_to_hicon_libgtk_only() get exported, so that the GTK
DLL can link correctly.

12 years agoUpdated Braziliana Portuguese translation for Gtk-UI
Rafael Ferreira [Thu, 30 May 2013 08:01:10 +0000 (05:01 -0300)]
Updated Braziliana Portuguese translation for Gtk-UI

12 years agoDrop unneeded define
Matthias Clasen [Thu, 30 May 2013 02:02:12 +0000 (22:02 -0400)]
Drop unneeded define

SRCDIR is no longer used.

12 years agoUse g_test_get_dir in test to locate files
Matthias Clasen [Thu, 30 May 2013 01:37:05 +0000 (21:37 -0400)]
Use g_test_get_dir in test to locate files

This makes the tests work both installed and for make check.

12 years agoMakefile.decl: Set G_TEST_SRCDIR and G_TEST_BUILDDIR
Matthias Clasen [Thu, 30 May 2013 01:35:53 +0000 (21:35 -0400)]
Makefile.decl: Set G_TEST_SRCDIR and G_TEST_BUILDDIR

These variables are needed to make file location functions
work.

12 years agoPort display tests to g_test_trap_subprocess
Matthias Clasen [Thu, 30 May 2013 01:11:14 +0000 (21:11 -0400)]
Port display tests to g_test_trap_subprocess

12 years agoMake sure we dist all testsuite ingredients
Matthias Clasen [Tue, 28 May 2013 22:08:42 +0000 (18:08 -0400)]
Make sure we dist all testsuite ingredients

12 years agoGtkMenuItem: Take padding into account to position submenu arrow
Xavier Claessens [Tue, 21 May 2013 13:12:03 +0000 (15:12 +0200)]
GtkMenuItem: Take padding into account to position submenu arrow

Since commit a69619edbc2b36aadbff200918ea9f11885d6109, it not
possible anymore for the style to add space between the border
and the arrow.

https://bugzilla.gnome.org/show_bug.cgi?id=700779

12 years agodoctools: Remove unused variable
Benjamin Otte [Tue, 28 May 2013 14:06:59 +0000 (16:06 +0200)]
doctools: Remove unused variable

12 years agoreftests: Add test for last 2 commits
Benjamin Otte [Tue, 28 May 2013 13:19:41 +0000 (15:19 +0200)]
reftests: Add test for last 2 commits

12 years agocssimage: Add forgotten line
Benjamin Otte [Tue, 28 May 2013 13:14:55 +0000 (15:14 +0200)]
cssimage: Add forgotten line

That line was already missing in the initial commit it seems.

12 years agocssanimation: Use property id here
Benjamin Otte [Tue, 28 May 2013 13:02:06 +0000 (15:02 +0200)]
cssanimation: Use property id here

12 years agotreeview: Don't cache the height
Benjamin Otte [Tue, 28 May 2013 10:02:22 +0000 (12:02 +0200)]
treeview: Don't cache the height

Instead, use the correct value all the time.

12 years agoUpdate Visual Studio Build Files
Chun-wei Fan [Tue, 28 May 2013 07:08:16 +0000 (15:08 +0800)]
Update Visual Studio Build Files

-Update the pre-configured config.h.win32(.in) to define _GDK_EXTERN as
 __declspec (dllexport) as we are not using .def files to export symbols
 anymore.
-Update the GDK/GTK DLL projects and the property sheets to stop using
 the .symbols/.def files
-Update the property sheets to "install" the newly-introduced GTK headers
-Update the gtk3-demo project to build the new demo sources that must be
 built

12 years agoFix build on C89 compilers
Chun-wei Fan [Tue, 28 May 2013 05:36:54 +0000 (13:36 +0800)]
Fix build on C89 compilers

-Avoid defining variables in the middle of the block
-Include fallback-c89.c in gtkrevealer.c in place of math.h as
 fallback-c89.c includes math.h itself, and is needed for round()

12 years agoClean up the pre-configured gdkconfig.h.win32
Chun-wei Fan [Tue, 28 May 2013 05:04:37 +0000 (13:04 +0800)]
Clean up the pre-configured gdkconfig.h.win32

The deprecation macros are now defined in gdkversionmacros.h, so remove
them from gdkconfig.h.win32 to avoid macro redefinition warnings.

12 years agoForgotten bug info
Matthias Clasen [Tue, 28 May 2013 01:50:37 +0000 (21:50 -0400)]
Forgotten bug info

12 years agoPost-release bump
Matthias Clasen [Mon, 27 May 2013 23:41:23 +0000 (19:41 -0400)]
Post-release bump

12 years ago3.9.2
Matthias Clasen [Mon, 27 May 2013 20:42:57 +0000 (16:42 -0400)]
3.9.2

12 years agoFix distclean
Matthias Clasen [Mon, 27 May 2013 22:25:08 +0000 (18:25 -0400)]
Fix distclean

extract-strings was left behind.

12 years agoAdd new widgets to the gallery
Matthias Clasen [Mon, 27 May 2013 20:40:43 +0000 (16:40 -0400)]
Add new widgets to the gallery

Make GtkHeaderBar, GtkPlacesSidebar, GtkStack and GtkStackSwitcher
show up in the gallery.

12 years agoMinor documentation formatting fixes
Matthias Clasen [Mon, 27 May 2013 19:26:59 +0000 (15:26 -0400)]
Minor documentation formatting fixes

12 years agoAdd an index for 3.10 symbols in gdk docs
Matthias Clasen [Mon, 27 May 2013 19:17:25 +0000 (15:17 -0400)]
Add an index for 3.10 symbols in gdk docs

12 years agoAdd release note about GtkBin compatibility
Matthias Clasen [Mon, 27 May 2013 19:03:04 +0000 (15:03 -0400)]
Add release note about GtkBin compatibility

12 years agoAdd gtk_test_widget_wait_for_draw to docs
Matthias Clasen [Mon, 27 May 2013 18:49:43 +0000 (14:49 -0400)]
Add gtk_test_widget_wait_for_draw to docs

12 years agoRemove gtk_widget_preferred_size_and_baseline from the docs
Matthias Clasen [Mon, 27 May 2013 18:42:58 +0000 (14:42 -0400)]
Remove gtk_widget_preferred_size_and_baseline from the docs

No longer exported since bd4d00918ed6293f7b45921ee4a52068aa78aa44.

12 years agoDocument --enable-installed-tests option
Matthias Clasen [Mon, 27 May 2013 18:41:35 +0000 (14:41 -0400)]
Document --enable-installed-tests option

12 years agoAdd new symbols to docs
Matthias Clasen [Mon, 27 May 2013 18:36:53 +0000 (14:36 -0400)]
Add new symbols to docs

Also, minor formatting fixes.

12 years agoAdd a tiled window state
Matthias Clasen [Sun, 26 May 2013 05:05:25 +0000 (01:05 -0400)]
Add a tiled window state

This information is needed to draw client-side decorations
properly in this state.
https://bugzilla.gnome.org/show_bug.cgi?id=696001

12 years agoUpdate Visual Studio 2010 projects
Chun-wei Fan [Mon, 27 May 2013 10:25:57 +0000 (18:25 +0800)]
Update Visual Studio 2010 projects

Add a PlatformToolset tag for each configuration for project files that
do not yet have them.  This is to ease support for Visual Studio 2012 as
we can copy and easily replace a few items with automated scripts as
project files for Visual Studio 2010 and 2012 are very similar.

This might change when we eventually support the Metro (aka Windows 8
Modern UI), but this will suffice for the time being.

12 years agoUpdated slovak translation
Dušan Kazik [Sun, 26 May 2013 14:03:13 +0000 (16:03 +0200)]
Updated slovak translation

12 years agoFix error_selecting_folder_over_existing_file_dialog() never displaying message
Timothy Arceri [Thu, 23 May 2013 08:00:36 +0000 (18:00 +1000)]
Fix error_selecting_folder_over_existing_file_dialog() never displaying message

https://bugzilla.gnome.org/show_bug.cgi?id=700864

12 years agoHandle G_IO_ERROR_FILENAME_TOO_LONG errors when saving
Timothy Arceri [Thu, 23 May 2013 08:09:58 +0000 (18:09 +1000)]
Handle G_IO_ERROR_FILENAME_TOO_LONG errors when saving

https://bugzilla.gnome.org/show_bug.cgi?id=591969

12 years agoUpdate gtk_file_chooser_set_do_overwrite_confirmation() documentation to reflect...
Timothy Arceri [Mon, 20 May 2013 21:54:00 +0000 (07:54 +1000)]
Update gtk_file_chooser_set_do_overwrite_confirmation() documentation to reflect what is actually happening

https://bugzilla.gnome.org/show_bug.cgi?id=360131

12 years agoGtkPlacesSidebar: do not unref mount
Alban Browaeys [Fri, 24 May 2013 23:05:13 +0000 (01:05 +0200)]
GtkPlacesSidebar: do not unref mount

Do not unref mount has we grabbed its pointer without taking
a reference.
Otherwise the following call to g_list_free_full on network_mounts
frees it a second time. Segfault in nautilus ensue.

https://bugzilla.gnome.org/show_bug.cgi?id=700979

12 years agocsd: Fix handling of titlebar height
Matthias Clasen [Sun, 26 May 2013 01:02:00 +0000 (21:02 -0400)]
csd: Fix handling of titlebar height

gtk_widget_get_allocated_height returns the adjusted
allocation, so we can't use it as measure for how much
room to leave when drawing the window background.

12 years agoAdd more tests to testheaderbar
Matthias Clasen [Sun, 26 May 2013 00:56:14 +0000 (20:56 -0400)]
Add more tests to testheaderbar

Check that one can use widgets other than GtkHeaderBar as
titlebars.

12 years agoGtkBox: don't propagate the expand child property
Matthias Clasen [Sat, 25 May 2013 18:04:36 +0000 (14:04 -0400)]
GtkBox: don't propagate the expand child property

The intention of the expand widget flags was to in fact propagate
legacy expand child properties as well. Due to implementation errors,
this was only happening in some cases, but not in others. To avoid
breaking old code assuming traditional expand flag behavior, this
commit removes all attempts to propagate GtkBox::expand.

This was discussed in
https://bugzilla.gnome.org/show_bug.cgi?id=698656 and
https://bugzilla.gnome.org/show_bug.cgi?id=628902

This patch was written by Tristan Van Berkom.

12 years agoAvoid shadowing a variable
Matthias Clasen [Sat, 25 May 2013 17:17:57 +0000 (13:17 -0400)]
Avoid shadowing a variable

I don't think this broke anything, but it is just inviting
confusion.

12 years agotestwindowsize: show the actual window size
Matthias Clasen [Sat, 25 May 2013 17:12:56 +0000 (13:12 -0400)]
testwindowsize: show the actual window size

12 years agoAdd an interactive window sizing test
Matthias Clasen [Sat, 25 May 2013 15:42:28 +0000 (11:42 -0400)]
Add an interactive window sizing test

12 years agoGdkRgba: Fix 'loose' typo
Bastien Nocera [Wed, 22 May 2013 15:37:51 +0000 (17:37 +0200)]
GdkRgba: Fix 'loose' typo

Should be "lose"

https://bugzilla.gnome.org/show_bug.cgi?id=700844

12 years agoGtkSearchEntry: Don't wait for timeout when emptying
Bastien Nocera [Tue, 21 May 2013 16:31:10 +0000 (18:31 +0200)]
GtkSearchEntry: Don't wait for timeout when emptying

When the text entry gets cleared, emit the "changed" signal
straight away. This avoids a lag when dismissing a search.

https://bugzilla.gnome.org/show_bug.cgi?id=700787

12 years agoGtkTreeView: Use GtkEntry private function to remove hack
Bastien Nocera [Tue, 21 May 2013 16:29:08 +0000 (18:29 +0200)]
GtkTreeView: Use GtkEntry private function to remove hack

https://bugzilla.gnome.org/show_bug.cgi?id=700787

12 years agoGtkEntry: Focus the entry without selecting the text
Bastien Nocera [Tue, 21 May 2013 16:26:48 +0000 (18:26 +0200)]
GtkEntry: Focus the entry without selecting the text

Focusing the text entry without selecting all the text is needed in
some places (GtkTreeView, and some uses of GtkSearchEntry) so
create a private helper to avoid replicating the hacks.

https://bugzilla.gnome.org/show_bug.cgi?id=700787

12 years agoDon't include X11 headers in wayland
Matthias Clasen [Thu, 23 May 2013 16:26:26 +0000 (12:26 -0400)]
Don't include X11 headers in wayland

The include of X11/keysyms.h in gdkdevice-wayland.c was just
a leftover.

12 years agopo-properties updated for Tajik
Victor Ibragimov [Thu, 23 May 2013 07:29:48 +0000 (12:29 +0500)]
po-properties updated for Tajik

12 years agoDrop test images
Matthias Clasen [Thu, 23 May 2013 02:01:44 +0000 (22:01 -0400)]
Drop test images

These were left behind when gdk-pixbuf was split off.

12 years agoGtkFileChooser: Only allow creating bookmarks for folders, not files
Federico Mena Quintero [Wed, 22 May 2013 22:22:28 +0000 (17:22 -0500)]
GtkFileChooser: Only allow creating bookmarks for folders, not files

https://bugzilla.gnome.org/show_bug.cgi?id=561221
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
12 years agoGtkPlacesSidebar: Only create bookmarks for folders, not files
Federico Mena Quintero [Wed, 22 May 2013 22:22:28 +0000 (17:22 -0500)]
GtkPlacesSidebar: Only create bookmarks for folders, not files

https://bugzilla.gnome.org/show_bug.cgi?id=561221
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
12 years agotests: Stop expander from failing
Benjamin Otte [Tue, 21 May 2013 22:07:04 +0000 (00:07 +0200)]
tests: Stop expander from failing

The test was flaky without gtk_widget_wait_for_draw().

12 years agoWayland: not all screens are square
Matthias Clasen [Tue, 21 May 2013 11:49:15 +0000 (07:49 -0400)]
Wayland: not all screens are square

https://bugzilla.gnome.org/show_bug.cgi?id=700737

12 years agotests: Install tests/css/parser
Benjamin Otte [Tue, 21 May 2013 10:50:13 +0000 (12:50 +0200)]
tests: Install tests/css/parser

12 years agotests: Install testsuite/css
Benjamin Otte [Tue, 21 May 2013 10:37:49 +0000 (12:37 +0200)]
tests: Install testsuite/css

12 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Tue, 21 May 2013 05:28:45 +0000 (02:28 -0300)]
Updated Brazilian Portuguese translation